let ids = lib.eachId();
lib.dbUpdate("update receipt set status = 1 where id = ?",ids[0]);